package net.wangds.yunz.auth.handler;

import net.wangds.log.helper.LogHelper;
import org.springframework.security.web.session.SessionInformationExpiredEvent;
import org.springframework.security.web.session.SessionInformationExpiredStrategy;
import org.springframework.stereotype.Component;

/**
 * 单点登陆异常
 **/
@Component
public class DefaultSessionInformationExpiredStrategy implements SessionInformationExpiredStrategy {
    @Override
    public void onExpiredSessionDetected(SessionInformationExpiredEvent event) {

        LogHelper.info("DefaultSessionInformationExpiredStrategy");

        //GlobalResultUtil.out(event.getResponse(), GlobalResultUtil.success(ResultEnum.SESSION_ERROR));
    }
}
